package com.dingreading.cloud.admin.mapper;

import com.dingreading.cloud.admin.dto.GoodsAndTypeDto;
import com.dingreading.cloud.admin.entity.GoodsType;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface GoodsTypeMapper extends BaseMapper<GoodsType> {

    long getGoodsWarningNum();

    List<GoodsAndTypeDto> goodsTypeList(@Param("keyword") String keyword, @Param("comboType") Integer comboType, @Param("enabled") Integer enabled);
}
